PARSER=parser
HTTP_SERVER=httpserver
cc=g++

$(PARSER):parser.cc
	$(cc) -o $@ $^ -lboost_system -lboost_filesystem -std=c++11
$(HTTP_SERVER):httpserver.cc
	$(cc) -o $@ $^ -ljsoncpp -lpthread -std=c++11

.PHONY:clean
clean:
	rm -f $(PARSER) $(HTTP_SERVER)
